<template>
  <svg
    class="yindu-icon"
    width="16px"
    height="16px"
    viewBox="0 0 16 16"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-815.000000, -111.000000)">
        <g
          id="编组-2"
          transform="translate(823.000000, 119.000000) rotate(-180.000000) translate(-823.000000, -119.000000) translate(815.000000, 111.000000)"
        >
          <rect
            id="矩形"
            x="-1.1278997e-13"
            y="0"
            width="16"
            height="16"
          ></rect>
          <polygon
            id="svg-fill"
            fill="#323232"
            points="1 8 15 8 15 7 1 7"
          ></polygon>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#323232",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  #svg-fill {
    fill: v-bind(fillColor);
  }
}
</style>
